<?php
	/*
	 * Created on 20.06.2012
	 *
	 */
	 
	include("project.class.php");
	
	$project = new Project();
	
	$data = array(
		"name" => $_POST["name"],
		"deadline" => $_POST["deadline"],
		"budget" => $_POST["budget"]
	);
	
	$project->alterProject($data, $_POST["id"]);
	
	header("Location: project_list.php");
	
?>
